package org.net.cms.controller.app.leave.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppStudentLeaveRespVO {

    @Schema(description = "编号，主键", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer id;

    @Schema(description = "家长编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer parentId;

    @Schema(description = "学生编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer studentId;

    @Schema(description = "家长电话号码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;

    @Schema(description = "学生姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "请假时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Date date;

    @Schema(description = "请假原因", requiredMode = Schema.RequiredMode.REQUIRED, maxLength = 512)
    private String reason;

    @Schema(description = "审核状态（0: 待审核, 1: 同意）", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private int status;
}
